package domain

import (
    "time"
)

type Product struct {
    Id        uint
    Name      string
    Price     float32
    Stock     uint
    CreatedAt time.Time
}

type ListReq struct {
    Page  uint
    Limit uint
    Name  string
    Ids   []uint
}

type Paginate struct {
    Total uint
    Page  uint
    Limit uint
}

type ListResp struct {
    Data     []*Product
    Paginate Paginate
}
